package com.tc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * @Auther: tianchao
 * @Date: 2020/8/30 22:51
 * @Description:
 */
@Controller
public class HelloController {


    @GetMapping("/success")
    public String success(Map<String,Object> map){
        map.put("show", "你好啊！");
        return "success";
    }
}
